#!/usr/bin/env python
# _*_ coding:UTF-8 _*_


from django.http import HttpResponse
# encoding:utf-8
import sys
print sys.getdefaultencoding()

s = "中文"
u = s.decode('utf-8')
print u
print type(u)
print repr(u)


def get_gb2312_encode(text):
    text.encode('gb2312',ignore)


# -*- coding: utf-8 -*-

#from django.http import HttpResponse
from django.shortcuts import render

def hello(request):
    context          = {}
    context['hello'] = 'Hello World!'
    return render(request, 'hello.html', context)

